﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pattern16策略模式.Base
{
    /// <summary>
    /// 抽象策略角色
    /// </summary>
    public abstract class PayBase
    {
        /// <summary>
        /// 结算计算方式
        /// </summary>
        /// <param name="money"></param>
        /// <returns></returns>
        public abstract double Calc(double money);
    }
}
